<cfset projects=application.reactor.createGateway("projects")>
<cfset qryProjects=projects.getAll()>
<h1>Projects</h1>
<p>This is a list of available projects.</p>

<!--- output the table here --->
<table class="listing">
	<thead>
		<tr>
			<th><a href="">Name</a></th>
			<th><a href="">URL</a></th>
		</tr>
	</thead>
	<tbody>
		<cfoutput query="qryProjects">
			<cfif currentRow Mod 2>
				<cfset class="odd">
			<cfelse>
				<cfset class="even">
			</cfif>
			<tr class="#class#">
				<td><a href="#myself#cAdmin.projectDetails&projectID=#projectID#">#name#</td>
				<td><a href="#url#" target="_blank">#url#</a></td>
			</tr>
		</cfoutput>
	</tbody>
</table>